package com.lh.java.structure;

public class TestStackLink {
	public static void main(String[] args) {
		StackLink a= new StackLink(null);
		a.push(5);
		a.push(6);
		a.push(7);
		a.push(8);
		Integer bInteger = (Integer)a.pop();
		while (null!=bInteger) {
			System.out.println(bInteger);
			bInteger = (Integer)a.pop();
		}
		

	}

}
